package com.flycat.service;


import com.flycat.common.enumeration.SysRoleEnum;
import com.flycat.core.Service;
import com.flycat.dao.po.SysPermission;

import java.util.List;

/**
 * Created by yalei.chen on 2017/09/24.
 */
public interface SysPermissionService extends Service<SysPermission> {

    List<SysPermission> findByRole(SysRoleEnum role);

    List<SysPermission> findMenusByRole(SysRoleEnum role);
}
